﻿@{
    Onlyle.Model.E_QingSong_Article e_model = Model;
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewData["title"] = e_model.QingSong_ContentTitle;
    ViewData["keyword"] = e_model.QingSong_Type+","+e_model.QingSong_ContentTitle;
    ViewData["description"] = Industry.Framework.Common.Helper.StringHelper.ClipString(e_model.QingSong_ContentProfile,200);
    bool wangzhaitag = false;
    string url = "http://www.onlyle.com/qingsong/detail/";
    if (Request.Path.Contains("wangzhai"))
    {
        wangzhaitag = true;
        url = "http://www.onlyle.com/wangzhai/detail/";
    }
}

<div class="wrap" style="min-height:450px;height:auto!important;height:450px;font-size: 14px;
font-family: Microsoft Yahei;">
    <div class="container">
       <section>
          <div class="row">
              <div class="span6 offset1">
                      <div class="post">
                          <h2 class="title"><span>@{ViewContext.Writer.Write(e_model.QingSong_ContentTitle);}</span></h2>
                          <p>@{ViewContext.Writer.Write(e_model.QingSong_Content);}</p>
                          <div class="post_info">
                                	    <div class="fleft">来源: <span><a target="_blank" href='@e_model.QingSong_ContentFromAddress'>@e_model.QingSong_Type</a></span> / By @e_model.QingSong_ContentFromDate.ToShortDateString() / </div>
                                        <div class="fright" style="padding-top:5px">
                                                     @RenderPage("~/Views/Shared/_share_litter.cshtml", new
                             {
                                 sharttitle = e_model.QingSong_ContentTitle,
                                 sharturl = url + e_model.QingSong_ID,
                                 shartpic = e_model.QingSong_ImgAddress,
                                 shartsummary = Industry.Framework.Common.Helper.StringHelper.ClipString(e_model.QingSong_ContentProfile, 200)
                             })
                                        </div>                                    
                                	    <div class="clear"></div>
                                    </div> 
                      </div>
                        
                  </div>              
              <div class="span4">
                  <div class="sidebar">
                             @if (wangzhaitag)
                             { 
                                    @RenderPage("~/Views/Shared/_wangzai_tag.cshtml")
                             }
                             else
                             {
                                    @RenderPage("~/Views/Shared/_qingsong_tag.cshtml")
                             }

       
                           <h2 class="title" style="border-bottom:3px #d00b01 solid;"><span>分享欢乐</span></h2>
                 
                                  @RenderPage("~/Views/Shared/_share.cshtml", new
                             {
                                 sharttitle = e_model.QingSong_ContentTitle,
                                 sharturl = url + e_model.QingSong_ID,
                                 shartpic = e_model.QingSong_ImgAddress,
                                 shartsummary = Industry.Framework.Common.Helper.StringHelper.ClipString(e_model.QingSong_ContentProfile, 200)
                             })
                       <h2 class="title"><span>推荐</span></h2>
                      <script type="text/javascript">
                          document.write('<a style="display:none!important" id="tanx-a-mm_41220300_4406969_14730915"></a>');
                          tanx_s = document.createElement("script");
                          tanx_s.type = "text/javascript";
                          tanx_s.charset = "gbk";
                          tanx_s.id = "tanx-s-mm_41220300_4406969_14730915";
                          tanx_s.async = true;
                          tanx_s.src = "http://p.tanx.com/ex?i=mm_41220300_4406969_14730915";
                          tanx_h = document.getElementsByTagName("head")[0];
                          if (tanx_h) tanx_h.insertBefore(tanx_s, tanx_h.firstChild);
</script>
                          
                                           
                  </div>
              </div>
          </div> 
          <div class="row">
              <div class="span6 offset1">
 <!-- UJian Button BEGIN -->
<div class="ujian-hook"></div>
<script type="text/javascript">var ujian_config = { num: 6, showType: 3, lkrc: 2 };</script>
<script type="text/javascript" src="http://v1.ujian.cc/code/ujian.js?uid=1852680"></script>
<a href="http://www.ujian.cc" style="border:0;"><img src="http://img.ujian.cc/pixel.png" style="border:0;padding:0;margin:0;" /></a>
<!-- UJian Button END -->
              </div>
          </div>     	
       </section>         
    </div>
</div>
<script>
    $(".sidebar").pin({
        containerSelector: ".page_container"
    })</script>
<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1852680" charset="utf-8"></script>
<script>
    var jiathis_config = {

    }
    function setShare(title, url, pic, summary) {
        jiathis_config.title = title;
        jiathis_config.url = url;
        jiathis_config.summary = summary;
        jiathis_config.pic = pic;
    }
</script>
<script src="~/Scripts/qingsongdetail.js"></script>
